package com.yh.bean;


import java.util.List;
import java.util.Set;

import java.util.HashSet;
import java.util.Set;

public class Role {
	private int id;//主键id
	private String role_name;//角色名称
	private int role_sort;//角色排序
	
	private Set<Permission> plists; //权限信息，一个角色可以拥有多个权限
	
	
	
	
	public Set<Permission> getPlists() {
		return plists;
	}
	public void setPlists(Set<Permission> plists) {
		this.plists = plists;
	}
	
	
	
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getRole_name() {
		return role_name;
	}
	public void setRole_name(String role_name) {
		this.role_name = role_name;
	}
	public int getRole_sort() {
		return role_sort;
	}
	public void setRole_sort(int role_sort) {
		this.role_sort = role_sort;
	}
}
